﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>CodeDesk Desktop ---新型跨平台桌面端框架</title>

    <link href="bootstrap.css" rel="stylesheet">

    <link href="animate.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet">

    <link href="style.css" rel="stylesheet">
</head>
<body id="page-top" class="landing-page no-skin-config">
    <div class="navbar-wrapper">
        <nav class="navbar navbar-default navbar-fixed-top navbar-expand-md" role="navigation">
            <div class="container">
                <a class="navbar-brand" href="/">CodeDesk Desktop</a>
                <div class="navbar-header page-scroll">
                    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar">
                        <i class="fa fa-bars"></i>
                    </button>
                </div>
                <div class="collapse navbar-collapse justify-content-end" id="navbar">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a class="nav-link page-scroll" href="#page-top">主页</a></li>
                        <li><a class="nav-link page-scroll" href="#demo">例子</a></li>
                        <li><a class="nav-link page-scroll" href="https://gitee.com/guitarpark/code-desk.-desktop" target="_blank">Gitee源码</a></li>
                        <li><a class="nav-link page-scroll" href="https://github.com/guitarpark/CodeDesk.Desktop" target="_blank">GitHub源码</a></li>
                      @*   <li><a class="nav-link page-scroll" href="#features">特色</a></li>
                        
                        <li><a class="nav-link page-scroll" href="#testimonials">获奖</a></li>
                        <li><a class="nav-link page-scroll" href="#pricing">价格</a></li>
                        <li><a class="nav-link page-scroll" href="#contact">联系</a></li> *@
                    </ul>
                </div>
            </div>
        </nav>
    </div>

    @RenderBody()
    <script src="jquery.js"></script>
    <script src="popper.js"></script>
    <script src="bootstrap.js"></script>
    <script src="jquery.metisMenu.js"></script>
    <script src="jquery.slimscroll.js"></script>

    <!-- Custom and plugin javascript -->
    <script src="inspinia.js"></script>
    <script src="pace.js"></script>
    <script src="wow.js"></script>


    <script>

        $(document).ready(function () {

            $('body').scrollspy({
                target: '#navbar',
                offset: 80
            });

            // Page scrolling feature
            $('a.page-scroll').bind('click', function (event) {
                var link = $(this);
                $('html, body').stop().animate({
                    scrollTop: $(link.attr('href')).offset().top - 50
                }, 500);
                event.preventDefault();
                $("#navbar").collapse('hide');
            });
        });

        var cbpAnimatedHeader = (function () {
            var docElem = document.documentElement,
                header = document.querySelector('.navbar-default'),
                didScroll = false,
                changeHeaderOn = 200;
            function init() {
                window.addEventListener('scroll', function (event) {
                    if (!didScroll) {
                        didScroll = true;
                        setTimeout(scrollPage, 250);
                    }
                }, false);
            }
            function scrollPage() {
                var sy = scrollY();
                if (sy >= changeHeaderOn) {
                    $(header).addClass('navbar-scroll')
                }
                else {
                    $(header).removeClass('navbar-scroll')
                }
                didScroll = false;
            }
            function scrollY() {
                return window.pageYOffset || docElem.scrollTop;
            }
            init();

        })();

        // Activate WOW.js plugin for animation on scrol
        new WOW().init();

    </script>

</body>
</html>
